﻿@model LibrarySystem.Models.BookDetailModel
@{
    ViewBag.Title = "Thông Tin Sách";
    Layout = "~/Views/Shared/_User_Layout.cshtml";
}

<h2>Thông tin sách</h2>
<fieldset>
    <legend>Product</legend>
    <div align="center">
        <img src="@Url.Content("~/images" + Model.Photo)" width="120" height="150" />
    </div>

    <div class="display-label">Tên Sách</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.BookName)
    </div>

    <div class="display-label">Mã Sách</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.BookCode)
    </div>

    <div class="display-label">Tác giả</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.BookAuthor)
    </div>

    <div class="display-label">Thể loại</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.BookCategory)
    </div>

    <div class="display-label">Có chứa đĩa</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.IsContainDisk)
    </div>

    <div class="display-label">Mô tả</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Description)
    </div>
</fieldset>